/**
 * listQueryType
 */
export interface listQueryType {
  conditions?: QueryCondition[];
  logic?: string;
  pageNo?: number;
  pageSize?: number;
  sortParams?: SortParam[];
  [property: string]: any;
}

/**
 * QueryCondition
 */
export interface QueryCondition {
  field: string;
  operator?: string;
  value: any;
}

/**
 * SortParam
 */
export interface SortParam {
  asc?: boolean;
  field?: string;
  [property: string]: any;
}

/**
 * PageResult«项目类型VO»
 */
export interface PageProjectTypeResultVO {
  pageNo?: number;
  pageSize?: number;
  result?: projectTypeVo[];
  total?: number;
  [property: string]: any;
}

/**
 * 项目类型VO
 */
export interface projectTypeVo {
  createTime?: Date;
  creator?: string;
  creatorName?: string;
  /**
   * 创建人
   */
  creatorObject?: creatorObj;
  /**
   * 给数据流关联的生命周期id
   */
  dataflowLifecycleId?: string;
  id?: string;
  modifier?: string;
  modifierName?: string;
  modifyTime?: Date;
  /**
   * 名称
   */
  name?: { [key: string]: string };
  /**
   * 给项目关联的生命周期id
   */
  projectLifecycleId?: string;
  /**
   * 描述
   */
  remark?: string;
  /**
   * 项目来源  EXTERNAL/INTERNAL
   */
  source?: Source;
  status: string;
  tenantId?: string;
  [property: string]: any;
}

/**
 * 创建人
 *
 * 项目成员
 */
export interface creatorObj {
  /**
   * 头像
   */
  avatar?: string;
  /**
   * 用户id
   */
  id?: string;
  /**
   * 用户id名
   */
  name?: string;
  /**
   * 角色名
   */
  roleNameList?: { [key: string]: string }[];
  [property: string]: any;
}

/**
 * 项目来源  EXTERNAL/INTERNAL
 */
export enum Source {
  External = "EXTERNAL",
  Internal = "INTERNAL",
}

/**
 * createProjectParamsType
 */
export interface createProjectParamsType {
  createTime?: Date;
  creator?: string;
  creatorName?: string;
  /**
   * 创建人
   */
  creatorObject?: creatorObj;
  /**
   * 给数据流关联的生命周期id
   */
  dataflowLifecycleId?: string;
  id?: string;
  modifier?: string;
  modifierName?: string;
  modifyTime?: Date;
  /**
   * 名称
   */
  name?: { [key: string]: string };
  /**
   * 给项目关联的生命周期id
   */
  projectLifecycleId?: string;
  /**
   * 描述
   */
  remark?: string;
  /**
   * 项目来源  EXTERNAL/INTERNAL
   */
  source?: Source;
  status: string;
  tenantId?: string;
  [property: string]: any;
}
